/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

export default {
  path: '/declare',
  component: Layout,
  redirect: '/declare/fifthDeclare',
  alwaysShow: true, // will always show the root menu
  name: 'declare',
  meta: {
    title: '申报/评分',
    icon: 'permission'
  },
  children: [
    {
      path: '/declare/wageDeclarePiece',
      name: 'wageDeclarePiece',
      component: () => import('@/views/declare//wageDeclarePiece.vue'),
      meta: { title: '绩效专员导入计件数据', icon: 'personnel' },
    },
    {
      path: '/declare/wageDeclareKpi',
      name: 'wageDeclareKpi',
      component: () => import('@/views/declare/wageDeclareKpi.vue'),
      meta: { title: '绩效专员导入提成数据', icon: 'personnel' },
    },
    {
      path: '/declare/wageDeclareReward',
      name: 'wageDeclareReward',
      component: () => import('@/views/declare/wageDeclareReward.vue'),
      meta: { title: '绩效专员导入特殊绩效', icon: 'personnel' },
    },{
      path: '/declare/wageDeclarePerformance',
      name: 'wageDeclarePerformance',
      component: () => import('@/views/declare/wageDeclarePerformance.vue'),
      meta: { title: '业绩专员导入部门业绩', icon: 'personnel' },
    },
	{
	  path: '/declare/wageDeclarePartTimeReward',
	  name: 'wageDeclarePartTimeReward',
	  component: () => import('@/views/declare/wageDeclarePartTimeReward.vue'),
	  meta: { title: '绩效专员导入兼职绩效', icon: 'personnel' },
	},
    {
      path: '/performDeclare/wageDeclare',
      name: 'wageDeclare',
      component: () => import('@/views/perform-declare/index.vue'),
      meta: { title: '绩效专员申报', icon: 'personnel' },
    },
    {
      path: '/performDeclare/detail',
      name: 'detail',
      component: () => import('@/views/perform-declare/detail.vue'),
      meta: { title: '员工绩效详情', icon: 'personnel' },
      hidden: true,
    },
    {
      path: '/declare/okrDeclare',
      name: 'okrDeclare',
      component: () => import('@/views/declare/okrEdit.vue'),
      meta: { title: 'okr发布', icon: 'personnel' },
    },
    {
      path: '/declare/fourthDeclare',
      name: 'fourthDeclare',
      component: () => import('@/views/fourthOperate/DeclareIndex.vue'),
      meta: { title: '部门负责人评分', icon: 'personnel' },
    },
    {
      path: '/declare/DeclareDetial',
      name: 'DeclareDetial',
      component: () => import('@/views/fourthOperate/DeclareDetial.vue'),
      meta: { title: '部门负责人评分详情', icon: 'personnel' },
      hidden: true,
    },
  ]
}

